package com.system.insurance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 账户信息
 * </p>
 *
 * @author WS
 * @since 2024-05-09
 */
@Data
//@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "账户信息")
@TableName("account")
public class Account extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 开户银行
     */
    @ApiModelProperty(value = "开户银行")
    @TableField("bank_card")
    private String bankCard;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    @TableField("namber")
    private String namber;

    /**
     * 支付宝账号
     */
    @ApiModelProperty(value = "支付宝账号")
    @TableField("alipay_account")
    private String alipayAccount;

    /**
     * 姓名名称
     */
    @ApiModelProperty(value = "开户银行")
    @TableField("compellation")
    private String compellation;

//    /**
//     * 创建时间
//     */
//    private LocalDateTime createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDateTime updateTime;


}
